package com.geostar.constructionland.common.service.biz.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.geostar.constructionland.common.entity.biz.PieceLandInfo;
import com.geostar.constructionland.common.mapper.biz.PieceLandInfoMapper;
import com.geostar.constructionland.common.service.biz.PieceLandInfoService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author yelll
 * @since 2020-6-12 14:42
 **/
@Service
public class PieceLandInfoServiceImpl extends ServiceImpl<PieceLandInfoMapper, PieceLandInfo> implements PieceLandInfoService {
    @Override
    public List<PieceLandInfo> getPieceLandInfosByYwid(String ywid) {
        return baseMapper.getPieLandInfosByYwid(ywid);
    }

    @Override
    public int updatePieceLandZymjBatch(List<PieceLandInfo> list) {
        return baseMapper.updatePieceLandZymjBatch(list);
    }
}
